package com.ws.service;

import com.ws.bean.Routes;
import com.ws.bean.vo.RouteVo;

import java.util.List;

public interface RouteService {
    List<Routes> list(RouteVo routeVo );

    int add(Routes routes);

    int delete(Integer routeId);

    Routes getRouteById(Integer routeId);

    int update(Routes routes);


    List<Routes> getCategorieList(Integer categorieId);

    int updateFavoriteNum(Integer routeId);

    int updateFavoriteDeleteNum(Integer routeId);

    int updateDele(Integer routeId);

    int selectRouteBySupplierId(Integer id);

    List<Routes> list2(RouteVo routeVo);
}
